﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace ChMetody_2
{
    class Methods
    {
        static public int[,] slr;
        static public int count;

        static public void read_file(string path)
        {
            StreamReader st = new StreamReader (path);
            string s = st.ReadLine();
            string[] s1 = s.Split(',');
            count = s1.Count();
            slr = new int[count,count];
            for (int i=0; i<count; i++)
            {
                s=st.ReadLine();
                s1=s.Split(' ');
                for (int j=0; j<count; j++)
                    slr[i,j]=Convert.ToInt32(s1[j]);
            }
        }
    }
}
